<?#//v.3.2.0

#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////

	include "includes/config.inc.php";

	$userid = $_SESSION["PHPAUCTION_LOGGED_IN"];

	unset($PHPAUCTION_LOGGED_IN);
	unset($PHPAUCTION_LOGGED_IN_USERNAME);
	unset($PHPAUCTION_LOGGED_IN_NAME);
	unset($PHPAUCTION_LOGGED_IN_EMAIL);
	unset($_SESSION["PHPAUCTION_LOGGED_IN"]);
	unset($_SESSION["PHPAUCTION_LOGGED_IN_USERNAME"]);
	unset($_SESSION["PHPAUCTION_LOGGED_IN_NAME"]);
	unset($_SESSION["PHPAUCTION_LOGGED_ACCOUNT"]);
	unset($_SESSION["PHPAUCTION_LOGGED_IN_EMAIL"]);

	if(isset($_COOKIE['PHPAUCTION_RM_ID'])) {
		@mysql_query("DELETE FROM PHPAUCTIONXL_rememberme WHERE hashkey='".$_COOKIE['PHPAUCTION_RM_ID']."'");
		setcookie("PHPAUCTION_RM_ID","",time()-3600);
	}
	Header("Location: $SETTINGS[siteurl]"."index.php");
	exit;

?>
